/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.tb_enter_reimbursement.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.modules.tb_cost.entity.TbCost;
import com.thinkgem.jeesite.modules.tb_fuel_consumption.entity.TbFuelConsumption;
import com.thinkgem.jeesite.modules.tb_out_car_register.entity.TbOutCarRegister;

/**
 * 回车报账Entity
 * @author ZhaoHai
 * @version 2017-07-10
 */
public class TbEnterReimbursement extends DataEntity<TbEnterReimbursement> {
	
	private static final long serialVersionUID = 1L;
	private String waybailId;		// 订单id
	private String cashRefueling;		// 现金加油
	private String oilCardRefueling;		// 油卡加油
	private String refuelingTanker;		// 罐车加油
	private String toll;		// 过路费
	

	private String accessoriesFee;		// 配件费
	private String maintenance;		// 维修费
	private String maintenanceFee;		// 保养费
	private String xieTiaoFei;		// 协调费
	private String quarterage;		// 住宿费
	private String rest;		// 其他
	private String theCarDrawMoney;		// 出车领款
	private String repayment;		// 应该返还的费用
	private TbOutCarRegister tbOutCarRegister;    //出车登记
	private TbCost tbCost;    //相关费用
	private TbFuelConsumption tbFuelConsumption;    //油料消耗登记

	public TbFuelConsumption getTbFuelConsumption() {
		return tbFuelConsumption;
	}

	public void setTbFuelConsumption(TbFuelConsumption tbFuelConsumption) {
		this.tbFuelConsumption = tbFuelConsumption;
	}

	public TbOutCarRegister getTbOutCarRegister() {
		return tbOutCarRegister;
	}

	public void setTbOutCarRegister(TbOutCarRegister tbOutCarRegister) {
		this.tbOutCarRegister = tbOutCarRegister;
	}

	public TbCost getTbCost() {
		return tbCost;
	}

	public void setTbCost(TbCost tbCost) {
		this.tbCost = tbCost;
	}

	public TbEnterReimbursement() {
		super();
	}

	public TbEnterReimbursement(String id){
		super(id);
	}

	@Length(min=0, max=50, message="订单id长度必须介于 0 和 50 之间")
	public String getWaybailId() {
		return waybailId;
	}

	public void setWaybailId(String waybailId) {
		this.waybailId = waybailId;
	}
	
	public String getCashRefueling() {
		return cashRefueling;
	}

	public void setCashRefueling(String cashRefueling) {
		this.cashRefueling = cashRefueling;
	}
	
	public String getOilCardRefueling() {
		return oilCardRefueling;
	}

	public void setOilCardRefueling(String oilCardRefueling) {
		this.oilCardRefueling = oilCardRefueling;
	}
	
	public String getRefuelingTanker() {
		return refuelingTanker;
	}

	public void setRefuelingTanker(String refuelingTanker) {
		this.refuelingTanker = refuelingTanker;
	}
	
	public String getToll() {
		return toll;
	}

	public void setToll(String toll) {
		this.toll = toll;
	}
	
	public String getAccessoriesFee() {
		return accessoriesFee;
	}

	public void setAccessoriesFee(String accessoriesFee) {
		this.accessoriesFee = accessoriesFee;
	}
	
	public String getMaintenance() {
		return maintenance;
	}

	public void setMaintenance(String maintenance) {
		this.maintenance = maintenance;
	}
	
	public String getMaintenanceFee() {
		return maintenanceFee;
	}

	public void setMaintenanceFee(String maintenanceFee) {
		this.maintenanceFee = maintenanceFee;
	}
	
	public String getXieTiaoFei() {
		return xieTiaoFei;
	}

	public void setXieTiaoFei(String xieTiaoFei) {
		this.xieTiaoFei = xieTiaoFei;
	}
	
	public String getQuarterage() {
		return quarterage;
	}

	public void setQuarterage(String quarterage) {
		this.quarterage = quarterage;
	}
	
	public String getRest() {
		return rest;
	}

	public void setRest(String rest) {
		this.rest = rest;
	}
	
	public String getTheCarDrawMoney() {
		return theCarDrawMoney;
	}

	public void setTheCarDrawMoney(String theCarDrawMoney) {
		this.theCarDrawMoney = theCarDrawMoney;
	}
	
	public String getRepayment() {
		return repayment;
	}

	public void setRepayment(String repayment) {
		this.repayment = repayment;
	}
	
    /**
     * 数据库实体类构造方法 
     */
	public TbEnterReimbursement(String waybailId,
			String cashRefueling, String oilCardRefueling,
			String refuelingTanker, String toll, String accessoriesFee,
			String maintenance, String maintenanceFee, String xieTiaoFei,
			String quarterage, String rest, String theCarDrawMoney,
			String repayment) {
		this.waybailId = waybailId;
		this.cashRefueling = cashRefueling;
		this.oilCardRefueling = oilCardRefueling;
		this.refuelingTanker = refuelingTanker;
		this.toll = toll;
		this.accessoriesFee = accessoriesFee;
		this.maintenance = maintenance;
		this.maintenanceFee = maintenanceFee;
		this.xieTiaoFei = xieTiaoFei;
		this.quarterage = quarterage;
		this.rest = rest;
		this.theCarDrawMoney = theCarDrawMoney;
		this.repayment = repayment;
	}

	
}